<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>第五课 元素属性与效果</title>
    <script src="./jquery.min.js"></script>
</head>

<body>
    <!-- <div class="div1" title="xingxingclassroom">星星课堂</div>
    <img src="" alt="" class="img1" /> -->
    <!-- 男<input type="radio" name="sex" id="man" /> -->
    <script>
        // var $div1 = $('.div1');
        // $div1.attr('title','new');//new
        // console.log($div1.attr('title'));//xingxingclassroom
        // $div1.removeAttr('title');
        // $div1.removeAttr('class');
        // var $img1 = $('.img1');
        // $img1.attr('src','./img1.jpg');
        // $img1.attr({'src':'./img1.jpg','alt':'这是图片描述'});
        // var $man = $('#man');
        // var input1 = $('input');
        // $man.prop({'checked':true,readonly:true});        
        // $man.prop('checked',true);
        // console.log($man.prop('checked'));
    </script>
</body>

</html>